package com.neusoft.controller;

import com.neusoft.service.SettleCategoryService;
import com.neusoft.utils.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author akemihomurasama
 */
@RestController
@RequestMapping("/settleCategory")
@CrossOrigin
public class SettleCategoryController {
    @Autowired
    private SettleCategoryService settleCategoryService;

    /**
     * 查询结算类别列表
     *
     * @return 结算类别列表
     */
    @RequestMapping("/querySettleCategoryList")
    public Result querySettleCategoryList() {
        return settleCategoryService.queryCategoryList();
    }
}
